<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <meta name="format-detection" content="telephone=no" />
    #parse("/h5/common/webWords.html")
    <link rel="stylesheet" type="text/css" href="http://${staticHost}/css/medioadaption.css" />
    <link rel="stylesheet" type="text/css" href="http://${staticHost}/css/stcss.css" />
    <script type="text/javascript" src="http://${staticHost}/js/jquery.js"></script>
    <script type="text/javascript" src="http://${staticHost}/js/continuingEducation.js"></script>
    <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            var studentInfo = '${studentInfo}';
            var studentInfoJson = eval("("+studentInfo+")");
            // $("#userName").text("["+studentInfoJson.studentName+"]欢迎光临梦想在线！");

            var majorList = '${majorList}';//专业一级分类
            var majorListJson = eval("("+majorList+")");
            var childrenMajorList = '${childrenMajorList}';//专业名称
            var childrenMajorListJson = eval("("+childrenMajorList+")");
            $.each(majorListJson, function (i, val) {
                $("#majorList").append("<li><h5>"+val.name+"</h5><dl><dd id="+val.id+"></dd></dl></li>");
                var childrenMajor = childrenMajorListJson[i];
                var children = childrenMajor[val.id]
                $.each(children, function (i, index) {
                    $("#"+index.parentId).append("<span><a href=/curriculum/auth/toChildrenCurriculum?parentId="+index.id+"&majorName="+index.name+"&parentName="+val.name+">"+index.name+"</a></span>");
                })
            });
        });
    </script>
    <style type="text/css">
        .editMood{
            color: #333;
        }
    </style>
</head>
<body style="background-color:#f8f8f8;">
<form name="form1" method="post" action="kecheng.aspx" id="form1">
    <div>
        <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTE3NjYwMzYzMTVkZJoRBUvOA1a6VhfVIrYdozebWXB6" />
    </div>

    <div>

        <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="FC70ECDC" />
    </div>

    <div class="dlny clear">
        <dl>
            <dt><a href="/edu/auth/toEditHeadprotrait"><img src="${headPortrait}"></a></dt>
            <dd>
                <!--<span><a href="/edu/auth/toEditStudentInfo">[修改]</a></span>-->
                [${studentName}] <a href="/edu/auth/toEditStudentInfo" class="editMood"> ${mood}</a>
            </dd>
        </dl>
    </div>

    <div class="xgcpzx clear">
        <ul id="majorList"></ul>
    </div>
    <div class="holderdiv"></div>

    <div class="fixdiv">
        <ul>
            <li><a href="javascript:void(0)" onclick="window.history.go(-1)"><img src="http://${staticHost}/images/foticon001.jpg"><span>返回</span></a></li>
            <li><a href="/edu/auth/modifyPwd"><img src="http://${staticHost}/images/foticon004.jpg"><span>重置密码</span></a></li>
            <li><a href="javascript:void(0)" onclick="loginOut()"><img src="http://${staticHost}/images/foticon003.jpg"><span>退出系统</span></a></li>
        </ul>
    </div>
</form>
</body>
</html>
